from sqlalchemy import Column, Integer, CHAR, String
from .base import db

class user(db.Model):
    id = Column(Integer, primary_key=True, autoincrement=True)
    nickname = Column(CHAR(12), nullable=False)
    account = Column(String(128), nullable=False)
    password = Column(String(128), nullable=False)